<p>
  <%= form.label :title,'标题:' %><br />
  <%= form.text_field :title %>
</p>
<p>
  <%= form.label :display,'可见性:' %>
  <%= form.label :display_show, form.radio_button(:display, "show") + '显示' %>
  <%= form.label :display_hide, form.radio_button(:display, "hide") + '隐藏' %>
  　　
  <%= form.label :content,'排序:' %>
  <%= form.text_field :index_num, :style => "width: 50px;height: 18px; font-size: 14px; line-height: 15px;" %>
</p>
<p>
  <%= form.label :content,'内容:' %><br />
  <%= form.text_area :content, :style => "width: 90%" %>
</p>